package com;

import javafx.scene.control.ChoiceBox;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestHellospring {
    public static void main(String[] args) {
        ApplicationContext applicationContext =
                new ClassPathXmlApplicationContext("applicationContext.xml");
        HelloSpring hellospring =(HelloSpring) applicationContext.getBean("helloSpring");
        hellospring.show();
    }
}
